<template>
    <div>
        test1_1
        <i-button ref="count_add1" v-permission @click="add">增加1</i-button>
        <i-button ref="count_add2" v-permission @click="add">增加2</i-button>
        <i-button ref="count_add3" v-permission @click="add">增加3</i-button>
        <i-button ref="count_add4" v-permission @click="add">增加4</i-button>
        <i-button ref="count_add5" v-permission @click="add">增加5</i-button>
        <i-button ref="count_add6" v-permission @click="add">增加6</i-button>
        <i-button ref="count_add7" v-permission @click="add">增加7</i-button>
        <div>{{test}}</div>
    </div>
</template>
<script>
    export default {
        name: 'test1',
        props: [],
        components: {},
        data () {
            return {
                test: 0
            }
        },
        methods: {
            add () {
                this.test++
            }
        },
        created () {
        }
    }
</script>
<style scoped>

</style>